#!/usr/bin/env python
#-*- coding:utf-8 -*-
import os


class Config:
    SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string'
    SQLALCHEMY_TRACK_MODIFICATIONS = True
    EXPORT_FOLDER = "/files/"

    @staticmethod
    def init_app(app):
        pass


class DevelopmentConfig(Config):
    SQLALCHEMY_DATABASE_URI = 'mysql://root:12345678@127.0.0.1:3306/daily?charset=utf8'



config = {
    'development': DevelopmentConfig,
    'default': DevelopmentConfig
}
